<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <hdjs/>

</head>
<body>
	<div class='wrap'>
		<div class="menu_list">
	    <ul>
	        <li><a href="{|U:'index'}"  class="action">栏目列表</a></li>
	        <li><a href="{|U:'add'}">添加栏目</a></li>
	    </ul>
        </div> 
		<form method='post'>
			<input type="hidden" name='cid' value="{$field.cid}">
			<div class="title-header">修改栏目</div>
			<table class='table1 hd-form'>
				<tr>
					<th>父级</th>
					<td>
						<select name="pid" class='w200'>
							<option value="0">顶级</option>
							<list from='$category' name='$c'>
                            <!-- selected,父栏目,disabled子栏目 -->
							<option value="{$c.cid}" {$c.selected} {$c.disabled}>{$c._name}</option>
							</list>	
						</select>
					</td>
				</tr>
				<tr>
					<th class='w100'>栏目名称</th>
					<td>
						<input type="text" name='catname' class='w200' value="{$field.catname}">
					</td>
				</tr>
				<tr>
					<th>关键字</th>
					<td>
						<input type="text" name='keywords' class='w200' value="{$field.keywords}">
					</td>
				</tr>
				<tr>
					<th>描述</th>
					<td>
						<textarea name="description" class='w200 h80'>{$field.description}</textarea>
					</td>
				</tr>
				<tr>
                    <th>列表页模板</th>
                    <td>
                       <input type="text" name='list_tpl' value='{$field.list_tpl}' class='w200'>
                    </td>
                </tr>
                <tr>
                    <th>内容页模板</th>
                    <td>
                       <input type="text" name='content_tpl' value='{$field.content_tpl}' class='w200'>
                    </td>
                 </tr>
			</table>
			<input type="submit" class='hd-success' >
			</form>
	</div>
	<js file='__CONTROLLER_VIEW__/Js/js.js'/>
</body>
</html>